USE [ProductInfo]
GO

/****** Object:  Table [BaseInfo].[Product_RU]    Script Date: 2014/6/11 23:15:01 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [BaseInfo].[Product_RU](
	[ProductRUID] [int] IDENTITY(1,1) NOT NULL,
	[LanguageID] [tinyint] NULL,
	[Code] [nvarchar](10) NOT NULL,
	[ProductRUName] [nvarchar](50) NOT NULL,
	[ProductRUDescription] [nvarchar](max) NOT NULL,
	[ProductRUPackage] [nvarchar](2000) NOT NULL,
	[IsDel] [bit] NULL,
	[CreateTime] [datetime] NULL,
	[CreateUser] [nvarchar](50) NOT NULL,
	[UpdateTime] [datetime] NULL,
	[UpdateUser] [nvarchar](50) NULL,
 CONSTRAINT [PK_ProductRU] PRIMARY KEY CLUSTERED 
(
	[ProductRUID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

ALTER TABLE [BaseInfo].[Product_RU] ADD  CONSTRAINT [DF_ProductRU_LanguageID]  DEFAULT ((6)) FOR [LanguageID]
GO

ALTER TABLE [BaseInfo].[Product_RU] ADD  CONSTRAINT [DF_ProductRU_IsDel]  DEFAULT ((0)) FOR [IsDel]
GO

ALTER TABLE [BaseInfo].[Product_RU] ADD  CONSTRAINT [DF_ProductRU_CreateTime]  DEFAULT (getdate()) FOR [CreateTime]
GO

ALTER TABLE [BaseInfo].[Product_RU] ADD  CONSTRAINT [DF_ProductRU_UpdateTime]  DEFAULT (getdate()) FOR [UpdateTime]
GO

